package com.teradyne.merlin2.ui.client.providers;

import com.google.gwt.place.shared.PlaceController;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.teradyne.merlin2.ui.client.activities.ServicesMenuActivity;
import com.teradyne.merlin2.ui.client.views.ServicesMenuView;

public class ServicesMenuActivityProvider implements Provider<ServicesMenuActivity> {
	private final ServicesMenuView view;
	private final PlaceController placeController;

	@Inject
	public ServicesMenuActivityProvider(ServicesMenuView view, PlaceController placeController) {
		this.view = view;
		this.placeController = placeController;
	}

	@Override
	public ServicesMenuActivity get() {
		return new ServicesMenuActivity(view, placeController);
	}
}
